package com.hs.mapper;

import com.hs.entity.Question;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface QuestionMapper {
    int addQuestion(Question question);
    int deleteQuestion(int id);
    int updateQuestion(Question question);
    Question getQuestionById(int id);
    List<Question> getQuestionByPage();
}
